package com.duanjw.springboot.params.pojo.dto;

import java.io.Serializable;
import java.util.List;

/**
 * 用户 dto
 * @author duanjw
 */
public class UserDTO implements Serializable {
    private Integer id;
    private String name;
    private List<String> columns;

    public UserDTO() {
    }

    public UserDTO(Integer id) {
        this.id = id;
    }

    public UserDTO(Integer id, String name, List<String> columns) {
        this.id = id;
        this.name = name;
        this.columns = columns;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<String> getColumns() {
        return columns;
    }

    public void setColumns(List<String> columns) {
        this.columns = columns;
    }
}
